﻿@model ComparteTuTiempo.Models.CustomEmail.CustomEmail

@{
    ViewBag.Title = "Contactar";
}
<hgroup class="title">
    <h1>@ViewBag.Title</h1>
</hgroup>

<div>

    <div class="span3">

 @using (Html.BeginForm("Contact", "Home", FormMethod.Post))
 { 
     @Html.ValidationSummary(true)
     <div class="span2">
            <div class=""> 
                <b>@Html.DisplayNameFor(model => model.Email):</b> @Html.TextBoxFor(model => model.Email) 
                @Html.ValidationMessageFor(model => model.Email, null, new { @class = "label label-important" })
            </div>

            <div class=""> 
                <b>@Html.DisplayNameFor(model => model.Cabecera):</b> @Html.TextBoxFor(model => model.Cabecera) 
                @Html.ValidationMessageFor(model => model.Cabecera, null, new { @class = "label label-important" })
            </div>
            
            <div class=""> 
                <b>@Html.DisplayNameFor(model => model.Cuerpo):</b>@Html.TextAreaFor(model => model.Cuerpo, new { @rows = 5 })
                @Html.ValidationMessageFor(model => model.Cabecera, null, new { @class = "label label-important" })
            </div>
        
            <div class="">
                <input id="btnEnviar" type="submit" value="Enviar" class="btn btn-primary" />
            </div>
      </div>
 }
           </div>
    <div class="span4">
            <div class="contact">
                <p>
                    <span class="label">Teléfono:</span>
                    <span>952135000</span>
                </p>
            </div>

            <div class="contact">
                <p>
                    <span class="label">Email:</span>
                    <span><a href="mailto:compartetutiemp00@gmail.com">Soporte</a></span>
                </p>
            </div>

            <div class="contact">
                <p>
                    <span class="label">Dirección:</span>
                    Málaga  Av de Cervantes, 4, 29016
                </p>
            </div>
    </div>
    <div class="span5">
        <img src="/Content/images/contactar.jpg" class="img-rounded img"/>
    </div>

</div> 